package com.hansming.bss.modules.sfc.entity;

import java.math.BigDecimal;

import org.hibernate.validator.constraints.Length;

import com.hansming.bss.common.persistence.DataEntity;

/**
 * 线路分支Entity
 * @author Hansming
 * @version 2017-09-16
 */

public class LineBranch extends DataEntity<LineBranch>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String branchname;		//分支名称	
	private BigDecimal price;		//分支价格	
	private String description;		//分支描述	
	private Line line;
	
	@Length(min=0, max=255)
	public String getBranchname() {
		return branchname;
	}

	public void setBranchname(String branchname) {
		this.branchname = branchname;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	@Length(min=0, max=255)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Line getLine() {
		return line;
	}

	public void setLine(Line line) {
		this.line = line;
	}
	
	
}
